<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://genshi.edgewall.org/"
          xmlns:xi="http://www.w3.org/2001/XInclude" lang="en">
        <!-- Simple genshi template for walking the leonardo file system -->

         <!--! This is the site layout -->
        <xi:include href="page.html" />
        <xi:include href="directory.html"/>
        
        <div py:def="layoutResults(t,l)">
            <h4>$t Results</h4>
            <ol>
                <li py:for="r in l"><a href="${r[0]}">${r[0]}</a>:${r[1]}</li>
            </ol>
        </div>
        
        <head>
        <!-- We'll be using the javascript helpers later, so let's make sure we have them -->
        ${Markup(h.javascript_include_tag(builtins=True))}
        </head>
        <body>
            <div class="mainPage">
               <div py:if="c.tbResults" py:replace="layoutResults('Trackback',c.tbResults)"/>
               <div py:if="c.pingResults" py:replace="layoutResults('Ping',c.pingResults)"/>
            </div>
        </body>
    </html>
